.dapp-deal-page {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  box-sizing: border-box;
  .header-tab {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 2.75rem;
    width:15.8rem;
    background: #08080b;
    box-sizing: border-box;
    border: .125rem solid #303236;
    margin-top: 1rem;
    border-radius: 3.125rem;
    padding: .0625rem;
    .active-tab {
      width: 7.625rem;
      height: 2.25rem;
      line-height: 2.25rem;
      background: #303236;
      border-radius: 3.125rem;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      font-size: .875rem;
      color: #ffe5a4;
      font-weight: 600;
      cursor: pointer;
    }
    .tab-item {
      width: 7.625rem;
      height: 2.25rem;
      line-height: 2.25rem;
      background: #191b1f;
      border-radius: 3.125rem;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      font-weight: 400;
      font-size: .875rem;
      color: rgba(255, 255, 255, 0.498);
      cursor: pointer;
    }
  }
  .page-container {
    margin-top: 1.25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    .body-content {
      width: 90%;
      border-radius: .6875rem;
      overflow: hidden;
      .header {
        background-color: #303236;
        padding: 0px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.098);

        .header-nav-box {
          height: 60px;
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          font-size: 13px;
          color: #ffe5a4;
          .header-left {
            cursor: pointer;
          }
          .header-right {
            cursor: pointer;
          }
        }
        .trading-record-header-nav-box {
          height: 60px;
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          font-size: 13px;
          color: #ffe5a4;
          .back-icon {
            width: 20px;
            height: 20px;
            margin-right: 20px;
            cursor: pointer;
          }
          .active {
            font-family: Microsoft YaHei UI;
            font-size: 14px;
            font-weight: normal;
            letter-spacing: 0px;
            color: #ffd7a1;
            margin-right: 30px;
            cursor: pointer;
          }
          .normal {
            font-family: Microsoft YaHei UI;
            font-size: 14px;
            font-weight: normal;
            letter-spacing: 0px;
            color: rgba(255, 255, 255, 0.498);
            margin-right: 30px;
            cursor: pointer;
          }
        }
      }
    }
  }
}
.deal-box-comp {
  width: 100%;
  .deal-trans-box {
    background-color: #303236;
    border-radius: 0px 0px 11px 11px;
    .top-box {
      height: 165px;
    }
    .middle-box {
      height: 31px;
      margin: 0px 16px;
      .ant-divider-inner-text {
        padding: 0px;
      }
      .ant-divider {
        margin: 0px;
        &::before {
          border-style: dashed;
          border-color: rgba(255, 255, 255, 0.102);
        }
        &::after {
          border-style: dashed;
          border-color: rgba(255, 255, 255, 0.102);
        }
      }
      .middle-title {
        width: 31px;
        height: 31px;
        background: #45474a;
        border-radius: 100px;
      }
    }
    .bottom-box {
      height: 95px;
    }
    .box-control {
      padding: 13px 16px;
      .box-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        .title-text {
          font-size: 14px;
          color: rgba(255, 255, 255, 0.298);
        }
        .title-right {
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: center;
          .right-value {
            font-size: 14px;
            letter-spacing: 0px;
            color: rgba(255, 255, 255, 0.498);
          }
          .right-max {
            font-size: 14px;
            color: #ccb883;
            margin-left: 9px;
          }
        }
      }
      .box-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
        .value-input {
          width: 370px;
          height: 44px;
          line-height: 44px;
          font-family: Microsoft YaHei UI;
          font-size: 24px;
          color: rgba(255, 255, 255, 0.2);
          background-color: transparent;
          border: 0px;
          &:focus-within {
            outline: none;
            box-shadow: none;
          }
          .ant-input-number-input {
            color: rgba(255, 255, 255, 0.2);
            font-weight: 600;
            padding-left: 0px;
            &::-webkit-input-placeholder {
              color: rgba(255, 255, 255, 0.2);
              font-weight: 600;
            }
          }
        }
        .coin-info {
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: center;
          .coin-icon {
            width: 24px;
            height: 24px;
            margin-right: 10px;
          }
          .coin-name {
            font-size: 20px;
            font-weight: normal;
            color: #ffffff;
          }
        }
      }
      .fast-box {
        .percent-row {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 13px;
          .normal {
            width: 2.5rem;
            height: 1.25rem;
            line-height: 1.25rem;
            border-radius: 5px;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: .75rem;
            font-weight: normal;
            color: #ffffff;
            text-align: center;
          }
          .slider-normal {
            width: 5rem;
            height: 1.25rem;
            line-height: 1.25rem;
            border-radius: 5px;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: .75rem;
            font-weight: normal;
            color: #ffffff;
            text-align: center;
            position: relative;
            padding-right: .625rem;
            .unit {
              position: absolute;
              right: .625rem;
              height: 1.25rem;
              line-height: 1.25rem;
            }
          }
        }
        .slider-row {
          .ant-slider-rail {
            height: 10px;
            background: #3d3f44;
          }
          .ant-slider-track {
            height: 10px;
            background-color: #ffe5a4;
          }
          .ant-slider-handle {
            &::before {
              width: 22px;
              height: 22px;
            }
            &::after {
              top: -2px;
              width: 22px;
              height: 22px;
              box-shadow: none;
              background-color: #ffe5a4;
            }
          }
        }
      }
    }
  }
  .add-address {
    height: 41px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.498);
    cursor: pointer;
  }
  .adding-address {
    height: 41px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 12px;
    font-size: 13px;
    color: #f5757d;
    cursor: pointer;
  }
  .address-save-box {
    border-radius: 11px;
    opacity: 1;
    background: #303236;
    padding: 0px 16px 16px 16px;
    .title-row {
      height: 36px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      font-family: Microsoft YaHei UI;
      font-size: 12px;
      font-weight: normal;
      color: rgba(255, 255, 255, 0.498);
    }
    .address-input {
      height: 32px;
      border-radius: 5px;
      opacity: 1;
      background: #191b1f;
      border: 0px;
    }
  }
  .current-price-box {
    margin-top: 12px;
    border-radius: 11px;
    background: #303236;
    padding: 16px;
    padding-bottom: 28px;

    .current-price-row {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 12px;
      border-bottom: 1px solid #303236;
      margin-bottom: 19px;
      .label-text {
        font-family: Microsoft YaHei UI;
        font-size: 12px;
        font-weight: normal;
        letter-spacing: 0px;
        color: rgba(255, 255, 255, 0.498);
      }
      .value-text {
        font-family: Microsoft YaHei UI;
        font-size: 12px;
        font-weight: normal;
        line-height: 15.24px;
        text-align: right;
        color: #ffffff;
      }
    }
    .other-fee-row {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      &:not(:last-child) {
        margin-bottom: 18px;
      }
      .label-text {
        font-family: Microsoft YaHei UI;
        font-size: 12px;
        font-weight: normal;
        color: rgba(255, 255, 255, 0.498);
      }
      .value-text {
        font-family: Microsoft YaHei UI;
        font-size: 12px;
        font-weight: normal;
        text-align: right;
        color: #ffffff;
      }
    }
  }
  .action-btn-box {
    margin-top: 12px;
    margin-bottom: 40px;
    .action-btn {
      width: 100%;
      height: 44px;
      line-height: 44px;
      padding: 0px;
      border: 0px;
      border-radius: 100px;
      background: linear-gradient(90deg, #ffe5a4 0%, #ff6a8d 100%);
      font-family: Microsoft YaHei UI;
      font-size: 16px;
      font-weight: normal;
      text-align: center;
      color: #38373c;
    }
  }
}

.deal-records-comp {
  .records-box {
    padding: 16px 12px;
    background: #303236;
    .records-data {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      .list-box {
        height: 400px;
        width: 100%;

        .record-item {
          border-radius: 7px;
          background: #3d3f44;
          padding: 0px 12px 10px 12px;
          margin-bottom: 8px;
          .item-title {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding: 11px 0px 5px 0px;
            .title-left {
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;
              .type-text {
                font-family: Microsoft YaHei UI;
                font-size: 12px;
                font-weight: normal;
                color: #ffffff;
                margin-right: 12px;
              }
              .time-text {
                font-family: Microsoft YaHei UI;
                font-size: 12px;
                font-weight: normal;
                color: rgba(255, 255, 255, 0.502);
              }
            }
            .title-right {
              display: flex;
              flex-direction: row;
              justify-content: flex-end;
              align-items: center;
              .percent-text {
                font-family: Microsoft YaHei UI;
                font-size: 12px;
                font-weight: normal;
                color: #dbc589;
              }
              .status-text {
                font-family: Microsoft YaHei UI;
                font-size: 12px;
                font-weight: normal;
                color: #ff9900;
                margin-left: 29px;
              }
            }
          }
          .value-box {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            padding: 16px 8px;
            border-radius: 5px;
            background: #303236;
            .pre-icon {
              width: 18px;
              height: 18px;
              margin-right: 11px;
            }
            .row-data {
              width: calc(100% - 30px);
              display: flex;
              flex-direction: column;
              justify-content: center;
              align-items: flex-start;
              .row-item {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;
                &:not(:last-child) {
                  margin-bottom: 5px;
                }
                .item-label {
                  font-family: Microsoft YaHei UI;
                  font-size: 12px;
                  font-weight: normal;
                  color: #ffffff;
                  margin-right: 10px;
                }
                .item-value {
                  font-family: Microsoft YaHei UI;
                  font-size: 12px;
                  font-weight: normal;
                  color: #ffffff;
                  margin-right: 10px;
                }
              }
            }
          }
          .code-box {
            margin-top: 7px;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            .pre-icon {
              width: 12px;
              height: 12px;
              margin-right: 7px;
            }
            .code-text {
              font-family: oriicon;
              font-size: 12px;
              font-weight: normal;
              line-height: 15.24px;
              color: rgba(255, 255, 255, 0.502);
            }
          }
        }
      }
      .pagination-box{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
         .ant-pagination-item  a {
          color: rgba(255, 255, 255, 0.5);
         }
         .ant-pagination-item-link {
          color: rgba(255, 255, 255, 0.5);

         }
         .ant-pagination-item-active {
          background-color: #3d3f44;
          border: 0px;
          a {
            color: #ffe5a4
          }
         }
      }
    }
  }
  .connect-wallete-box {
    height: 439px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 71px;
    background-color: #303236;
    .icon-img {
      width: 100px;
      height: 85px;
    }
    .connect-btn {
      width: 104px;
      height: 34px;
      line-height: 34px;
      padding: 0px;
      opacity: 1;
      background: linear-gradient(90deg, #ffe5a4 0%, #ff628b 100%);
      border: 0px;
      padding: 0px;
      margin-top: 26px;
      border-radius: 50px;
    }
    .tip-text {
      /* 请连接钱包以查看资产、申购、赎回、质押等信息。 */

      width: 259px;
      line-height: 24px;
      font-family: Microsoft YaHei UI;
      font-size: 14px;
      font-weight: normal;
      line-height: 20px;
      align-items: center;
      letter-spacing: 0px;
      color: rgba(255, 255, 255, 0.8);
      text-align: center;
      margin-top: 30px;
    }
  }
}
